package org.acghub.config.type;

import org.acghub.config.Type;

import java.util.NavigableSet;
import java.util.TreeSet;

/**
 * @Desc
 * @Author miyuki4j
 * @Date 2025/7/24/星期四 14:33
 * @Version 1.0
 */
public class TreeSetType extends Type.CollectionType<NavigableSet<?>> {
    @Override
    public String name() {
        return "treeset";
    }

    @Override
    public String javaInterface() {
        return "java.util.NavigableSet";
    }

    @Override
    public String javaImplementation() {
        return "java.util.TreeSet";
    }

    @Override
    protected NavigableSet<?> newCollection() {
        return new TreeSet<>();
    }
}
